package csdn.meiju.li02;

public class Test {
    public static void main(String[] args) {
        Week week1=Week.SUNDAY;
        //以下三种输出方式结果相同
        System.out.println(week1);
        System.out.println(week1.toString());//枚举类继承Object类
        System.out.println(week1.name());

        week1.show();
        week1.setDasc("10");
        System.out.println(week1.getDasc());

    }
}
